package com.da.lon.wang.xlg.constants;

public class XLGConstants {

    /**
     * 接口访问地址
     */
//	 public static final String URL = "http://okapi.hhecz.com/";
    public static final String URL = "http://api.sk.osell.com/";
    // 测试服务器地址
//	public static final String URL = "http://testapi.ocoffee.cn/";
    /**
     * 网页访问地址
     */
//    public static final String WEB_URL = "http://oka.hhecz.com/";
    // 测试服务器网页访问地址
    public static final String WEB_URL = "http://m.sk.osell.com/";
    /**
     * 路径
     */
    public static final String API = "Login";
    /**
     * 地址前半段
     */
    public static final String URL_HEAD = "Login-";

    /**
     * 密码
     */
    public static final String SECRET = "2015#$%";
    /**
     * 图片文件保存路径
     */
    public static final String FILE_PATH = "xlg/images";
    /**
     * 文件保存文件夹路径
     */
    public final static String FILE_PAHT = "/xlg";
    /**
     * 回复成功广播
     */
    public static final String REPLAY_SUCCESS = "com.xlg.repaly.success";
    /**
     * 更新秒杀列表界面
     */
    public static final String UPDATE_SKILL = "com.xlg.update.skill";
    /**
     * 注册成功广播
     */
    public static final String REGIST_SUCCESS = "com.xlg.regist.success";
    /**
     * 微信登陆授权成功
     */
    public static final String WX_SUCCESS = "com.xlg.wx.login.success";

    /**
     * 微信支付成功
     */
    public static final String WX_PAY_SUCCESS = "com.xlg.wx.pay.success";

    public static final String url_home = URL;
    public static final String url_party = URL + "party-index";
    public static final String url_cart = URL + "Cart-disp.html?needCoordinates=1";
    public static final String url_mine = URL + "Member-index";
    public static final String url_modify_password = URL + "Public-Forgot";
    // 订单确认页面后缀地址
    public static final String URL_CHOISE = "checked_payment";
    // 订单界面前半部地址
    public static final String URL_CART_HRAD = "Cart-";
    // 活动页面前半部地址
    public static final String URL_PARTY_HEAD = "Activity-";
    // 秒杀页面前半部地址
    public static final String URL_SECKILL_HEAD = "ActivitySeckill-";

    public static final String WX_APP_ID = "wxfa24e93c38166a8d";
    public static final String APP_ID = "101427676";
    public static final String WX_App_Secret = "880319b4af6817f9cb922209e17df324";
    public static final String TAGANDALIAS_RECEIVED_ACTION = "com.da.lon.wang.xlg.receiver.TAGANDALIAS_RECEIVED_ACTION";
    public static final int NETERROR = 12000;
    public final static int TIMEDOWN = 88;

    public static class MethodName {

        /**
         * 注册
         */
        public static final String REGIST = "reguser";

        /**
         * 手机验证
         */
        public static final String PHONE_CONFIRM = "sendCode";
        /**
         * 登陆
         */
        public static final String LOGIN = "userapi";
        /**
         * 自动登陆
         */
        public static final String AUTOLOGIN = "autologin";
        /**
         * 更新
         */
        public static final String UPDATE = "upgrade";

    }
}
